public library
LibEvolutionEval: A Benchmark and Study for Version-Specific Code Generation
Kuhar, Sachit, Ahmad, Wasi Uddin, Wang, Zijian, Jain, Nihal, Qian, Haifeng, Ray, Baishakhi, Ramanathan, Murali Krishna, Ma, Xiaofei, Deoras, Anoop
Recent advancements in code completion models have primarily focused on local file contexts. However, these studies do not fully capture the complexity of real-world software development, which often requires the use of rapidly-evolving public libraries. To fill the gap, we introduce LibEvolutionEval, a detailed study requiring an understanding of library evolution to perform in-line code completion accurately. LibEvolutionEval provides a version-specific code-completion task comprised of eight libraries (torch, torchvision, scipy, pil, tqdm, pyyaml, matplotlib, and pandas) as they evolve over the year along with a detailed analysis of the evolution of two popular and well-maintained public libraries: PyTorch and Matplotlib. We evaluate popular public models and find that public library evolution significantly influences model performance. We explored mitigation methods by studying how retrieved version-specific library documentation and prompting can improve the model's capability in handling these fast-evolving packages, paving a promising future path in better handling fast-evolving libraries.
- North America > Canada > Ontario > Toronto (0.04)
- Asia > Singapore (0.04)
- North America > United States (0.04)
- (2 more...)
The Association Between SOC and Land Prices Considering Spatial Heterogeneity Based on Finite Mixture Modeling
Kang, Woo Seok, Kim, Eunchan, Heo, Wookjae
An understanding of how Social Overhead Capital (SOC) is associated with the land value of the local community is important for effective urban planning. However, even within a district, there are multiple sections used for different purposes; the term for this is spatial heterogeneity. The spatial heterogeneity issue has to be considered when attempting to comprehend land prices. If there is spatial heterogeneity within a district, land prices can be managed by adopting the spatial clustering method. In this study, spatial attributes including SOC, socio-demographic features, and spatial information in a specific district are analyzed with Finite Mixture Modeling (FMM) in order to find (a) the optimal number of clusters and (b) the association among SOCs, socio-demographic features, and land prices. FMM is a tool used to find clusters and the attributes' coefficients simultaneously. Using the FMM method, the results show that four clusters exist in one district and the four clusters have different associations among SOCs, demographic features, and land prices. Policymakers and managerial administration need to look for information to make policy about land prices. The current study finds the consideration of closeness to SOC to be a significant factor on land prices and suggests the potential policy direction related to SOC.
- Asia > South Korea > Seoul > Seoul (0.05)
- North America > United States > New York (0.04)
- North America > United States > Louisiana > East Baton Rouge Parish > Baton Rouge (0.04)
- (3 more...)
- Government (1.00)
- Banking & Finance (0.93)
- Education > Educational Setting > K-12 Education (0.31)
When Language Model Meets Private Library
Zan, Daoguang, Chen, Bei, Lin, Zeqi, Guan, Bei, Wang, Yongji, Lou, Jian-Guang
With the rapid development of pre-training techniques, a number of language models have been pre-trained on large-scale code corpora and perform well in code generation. In this paper, we investigate how to equip pre-trained language models with the ability of code generation for private libraries. In practice, it is common for programmers to write code using private libraries. However, this is a challenge for language models since they have never seen private APIs during training. Motivated by the fact that private libraries usually come with elaborate API documentation, we propose a novel framework with two modules: the APIRetriever finds useful APIs, and then the APICoder generates code using these APIs. For APIRetriever, we present a dense retrieval system and also design a friendly interaction to involve uses. For APICoder, we can directly use off-the-shelf language models, or continually pre-train the base model on a code corpus containing API information. Both modules are trained with data from public libraries and can be generalized to private ones. Furthermore, we craft three benchmarks for private libraries, named TorchDataEval, MonkeyEval, and BeatNumEval. Experimental results demonstrate the impressive performance of our framework.
AI to Help Combat Climate Change, Disability Bills, Women's Rights and More
Last week, I, alongside my colleague Assembly Environmental Conservation Committee Chair Steve Englebright, held the first-ever NYS Assembly roundtable on artificial intelligence and how we can utilize it to predict and combat climate change. We head into our last three intensive legislative weeks with June with a few thousand bills pending – though only a fraction will end up passing both bodies. Serious work continues and a whole host of important yet controversial bills including on housing and tenant protections, climate control and protection, surrogacy laws and driver licenses to name just a few! The Assembly and Senate this week passed a legislative package aimed at protecting people with disabilities and improving and expanding services available to them. As always, check out community events to see what's happening around the district!
- North America > United States > New York (0.13)
- Asia > China (0.06)
- North America > United States > Ohio (0.05)
- (5 more...)
- Law > Civil Rights & Constitutional Law (0.51)
- Health & Medicine > Therapeutic Area (0.35)
- Water & Waste Management > Solid Waste Management (0.32)
Your job might disappear, but don't blame artificial intelligence for that
When we talk about the jobs at risk, artificial intelligence is often seen as the main threat. However, this technology is still at its very beginning, while a lot of jobs are already transforming and even disappearing. Conversely, other jobs seem to resist, even if technologies already exist to replace them. You don't need to be an expert to observe how some jobs are already dying, and the supermarket cashier is one of the most typical examples. For some years, increasing numbers of cashiers have been replaced by self-checkout machines, several of which can be run by one employee… The same can be seen in the fast-food restaurants, at the cinema, at the airport, etc.
What do the US West Coast Public Libraries Post on Twitter?
Karami, Amir, Collins, Matthew
Twitter has provided a great opportunity for public libraries to disseminate information for a variety of purposes. Twitter data have been applied in different domains such as health, politics, and history. There are thousands of public libraries in the US, but no study has yet investigated the content of their social media posts like tweets to find their interests. Moreover, traditional content analysis of Twitter content is not an efficient task for exploring thousands of tweets. Therefore, there is a need for automatic methods to overcome the limitations of manual methods. This paper proposes a computational approach to collecting and analyzing using Twitter Application Programming Interfaces (API) and investigates more than 138,000 tweets from 48 US west coast libraries using topic modeling. We found 20 topics and assigned them to five categories including public relations, book, event, training, and social good. Our results show that the US west coast libraries are more interested in using Twitter for public relations and book-related events. This research has both practical and theoretical applications for libraries as well as other organizations to explore social media actives of their customer and themselves.
- North America > United States > California > Los Angeles County > Los Angeles (0.14)
- North America > United States > Hawaii (0.05)
- North America > United States > South Carolina (0.05)
- (21 more...)
- Information Technology > Services (1.00)
- Health & Medicine (1.00)
Social Media Analysis For Organizations: Us Northeastern Public And State Libraries Case Study
Collins, Matthew, Karami, Amir
Social networking sites such as Twitter have provided a great opportunity for organizations such as public libraries to disseminate information for public relations purposes. However, there is a need to analyze vast amounts of social media data. This study presents a computational approach to explore the content of tweets posted by nine public libraries in the northeastern United States of America. In December 2017, this study extracted more than 19,000 tweets from the Twitter accounts of seven state libraries and two urban public libraries. Computational methods were applied to collect the tweets and discover meaningful themes. This paper shows how the libraries have used Twitter to represent their services and provides a starting point for different organizations to evaluate the themes of their public tweets.
- North America > United States > Georgia > Fulton County > Atlanta (0.06)
- North America > United States > Vermont (0.05)
- North America > United States > New York (0.05)
- (11 more...)
- Information Technology > Services (1.00)
- Media (0.94)
- Health & Medicine > Therapeutic Area > Psychiatry/Psychology (0.47)
- Health & Medicine > Therapeutic Area > Infections and Infectious Diseases (0.47)
A San Francisco bookstore offers free copies of George Orwell's '1984'
A "mystery benefactor" bought the copies of George Orwell's dystopian satire at Booksmith and asked that they be given away free to interested customers, the San Francisco Chronicle reports. Booksmith is located in San Francisco's famously progressive Haight-Ashbury district. The Orwell books were claimed, but the giveaway idea caught on. Another patron purchased copies of Margaret Atwood's novel "The Handmaid's Tale" and Erik Larson's nonfiction book "In the Garden of Beasts: Love, Terror, and an American Family in Hitler's Berlin" to be given away to shoppers. Orwell's "1984," a dark vision about a Britain taken over by a totalitarian regime that uses "doublethink" and "Newspeak" to mislead and control its citizens, has seen a spike in sales since late January, after President Trump's advisor Kellyanne Conway appeared on "Meet the Press" and used the term "alternative facts" to defend the administration's provably false statements about the size of the crowds at the inuaguration.
- North America > United States > California > San Francisco County > San Francisco (0.89)
- Europe > United Kingdom (0.26)
- North America > United States > California > Los Angeles County > Los Angeles (0.06)
- Retail (0.49)
- Law > Civil Rights & Constitutional Law (0.34)
Texas girl gets 3-D prosthetic limb from public library
After spending more than a year on a waiting list for a functional prosthetic hand, a Texas girl's needs were met by her local public library-- which happens to have a 3-D printing lab. Katelyn Vincik, 5, was born with a left hand that wasn't fully formed, but hasn't let that difference slow her down, Click 2 Houston reported. "She's very determined, she does everything," her mother, Kimberly Vincik, told the news channel. "It's never held her back." But during her nightly prayers, Katelyn always asks when the doctors will fix her hand.